const express = require('express');
const message = express.Router();

//查询留言接口
message.get('/:page',require('./message/find'))

message.get('/find/:page',require('./message/qfind'))

//创建留言接口
message.post('/',require('./message/message'))
//删除留言接口
message.delete('/:id',require('./message/delete'))
message.put('/:id',require('./message/put'))


module.exports=message;
